package pers.zc.activiti.shujujiegou.zhan;

/**
 * @Annotion:
 * @ClassName: Test
 * @Author: Lin Fuyuan
 * @Date: 2019/11/20  16:35
 * @Version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        Stack stack = new Stack(6);
        boolean b = stack.setStack(3);
        stack.setStack(4);
        stack.setStack(5);
        stack.setStack(6);
        stack.setStack(7);
        stack.setStack(8);
        System.out.println(stack.getStack());
        System.out.println(stack.getStack());
        System.out.println(stack.getStack());
        System.out.println(stack.getStack());
        System.out.println(stack.getStack());
        System.out.println(stack.getStack());
        System.out.println(stack.getStack());
    }


}
